<%@ page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="UTF-8"%>   
<%
	String path = request.getContextPath();
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>测试</title>
</head>
<body>
<h1 align="center">聚划算 信息编辑</h1>
<form action="<%=path %>/taobao.do" method="post" name="frm">
<input type="hidden" name="dealId" value="${deal.id }">
<input type="hidden" name="method" value="updateDeal">
<table border="1" width="90%">
	
	<tr>
		<td width="150">标题</td>
		<td><input type="text" name = "description" value="${deal.description }" size="150"/></td>
	</tr>
	<tr>
		<td>评价人数</td>
		<td><input type="text" name="commentsNumber"/></td>
	</tr>
	<tr>
		<td>得分</td>
		<td><input type="text" name="commentsScore" /></td>
	</tr>
	<tr>
		<td>公司名</td>
		<td><input type="text" name = "companyName" size="70"/></td>
	</tr>
	<tr>
		<td>淘宝店铺名</td>
		<td><input type="text" name = "businessName" size="70"/></td>
	</tr>
	<tr>
		<td>公司地址</td>
		<td><input type="text" name = "companyAddrees"/></td>
	</tr>
	<!--  tr>
		<td>团购信息</td>
		<td><a href="${deal.url }" target="_blank">${deal.url }</a></td>
	</tr>-->
	<tr>
		<td>店铺信息</td>
		<td><a href="${deal.taobaoProductsURL }" target="_blank">${deal.taobaoProductsURL }</a></td>
	</tr>
	<tr>
		<td colspan="2">剩余编辑数:${total }</td>
	</tr>
	<tr>
		<td colspan="2" align="center"><input type="submit" value="提交" /><input type="reset"  value = "重置"/></td>
		
	</tr>
	
</table>
</form>
</body>
</html>